{subtemplate header}
<div class="container">
	<div id="foruminfo">
		<div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang memcp_profile}</div>
	</div>
	<div class="content">

<script type="text/javascript" src="include/javascript/calendar.js"></script>
<script type="text/javascript" src="include/javascript/bbcode.js"></script>
<script type="text/javascript">
var charset = '$charset';
var maxsigsize = parseInt('$maxsigsize');
var maxbiosize = parseInt('$maxbiosize');
var maxbiotradesize = parseInt('$maxbiotradesize');
var allowhtml = 0;
var forumallowhtml = 0;
var allowsmilies = 0;
var allowbbcode = 0;
var allowimgcode = 0;
var allowbiobbcode = parseInt('$allowbiobbcode');
var allowbioimgcode = parseInt('$allowbioimgcode');
var allowsigbbcode = parseInt('$allowsigbbcode');
var allowsigimgcode = parseInt('$allowsigimgcode');

function parseurl(str, mode) {
	str = str.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp))/ig, mode == 'html' ? '$1<img src="$2" border="0">' : '$1[img]$2[/img]');
	str = str.replace(/([^>=\]"'\/@]|^)((((https?|ftp|gopher|news|telnet|rtsp|mms|callto|bctp|ed2k):\/\/)|www\.)([\w\-]+\.)*[:\.@\-\w\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!#]*)*)/ig, mode == 'html' ? '$1<a href="$2" target="_blank">$2</a>' : '$1[url]$2[/url]');
	str = str.replace(/([^\w>=\]:"'\.\/]|^)(([\-\.\w]+@[\.\-\w]+(\.\w+)+))/ig, mode == 'html' ? '$1<a href="mailto:$2">$2</a>' : '$1[email]$2[/email]');
	return str;
}

function validate(theform) {
	<!--{if $typeid == 4}-->
		<!--{if $maxsigsize}-->
		if(mb_strlen(theform.signaturenew.value) > maxsigsize) {
			alert('{lang memcp_profile_sig_toolong}');
			return false;
		}
		<!--{/if}-->
		if(mb_strlen(theform.bionew.value) > maxbiosize) {
			alert('{lang memcp_profile_bio_toolong}');
			return false;
		}
		if(mb_strlen(theform.biotradenew.value) > maxbiotradesize) {
			alert('{lang memcp_profile_biotrade_toolong}');
			return false;
		}
	<!--{/if}-->
	return true;
}

function updateavatar() {
	$('avatar').src='{echo discuz_uc_avatar($discuz_uid, 'middle', TRUE)}&random=1'+Math.random();
}

</script>
<form name="reg" method="post" action="memcp.php?action=profile&typeid=$typeid" onSubmit="return validate(this)">
<input type="hidden" name="formhash" value="{FORMHASH}" />
		<div class="mainbox formbox">
			<h1>{lang memcp_profile}</h1>
			<ul class="tabs <!--{if $typeid==3}-->headertabs<!--{/if}-->">
				<li<!--{if $typeid==1}--> class="current"<!--{/if}-->><a href="memcp.php?action=profile&typeid=1">{lang memcp_profile_type_1}</a></li>
				<li<!--{if $typeid==2}--> class="current"<!--{/if}-->><a href="memcp.php?action=profile&typeid=2">{lang memcp_profile_type_2}</a></li>
				<!--{if !empty($_DCACHE['fields_required']) || !empty($_DCACHE['fields_optional'])}-->
					<li<!--{if $typeid==3}--> class="current"<!--{/if}-->><a href="memcp.php?action=profile&typeid=3">{lang memcp_profile_type_3}</a></li>
				<!--{/if}-->
				<li<!--{if $typeid==4}--> class="current"<!--{/if}-->><a href="memcp.php?action=profile&typeid=4">{lang memcp_profile_type_4}</a></li>
				<li<!--{if $typeid==5}--> class="current"<!--{/if}-->><a href="memcp.php?action=profile&typeid=5">{lang memcp_profile_type_5}</a></li>
				<li<!--{if $typeid==6}--> class="current"<!--{/if}-->><a href="memcp.php?action=profile&typeid=6">{lang memcp_profile_type_6}</a></li>
			</ul>
<table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0">

{subtemplate seccheck}

<!--{if $typeid == 1}-->

	<tr>
		<th><label for="oldpassword">{lang old_password}</label></th>
		<td><input type="password" name="oldpassword" id="oldpassword" size="25" /> {lang old_password_comment}</td>
	</tr>

	<tr>
		<th><label for="newpassword">{lang new_password}</label></th>
		<td><input type="password" name="newpassword" id="newpassword" size="25" /></td>
	</tr>

	<tr>
		<th><label for="newpassword2">{lang new_password_confirm}</label></th>
		<td><input type="password" name="newpassword2" id="newpassword2" size="25" /></td>
	</tr>

	<tr>
		<th><label for="emailnew">{lang email}</label></th>
		<td><input type="text" name="emailnew" id="emailnew" size="25" value="$member[email]" />
		<!--{if $regverify == 1 && (($grouptype == 'member' && $adminid == 0) && $groupid == 8)}--> <em>{lang memcp_profile_email_comment}</em><!--{/if}-->
	</td>
	</tr>

	<tr>
		<th><label for="questionidnew">{lang security_question}</label></th>
		<td><select name="questionidnew" id="questionidnew">
		<!--{if $discuz_secques}--><option value="-1">{lang memcp_profile_security_keep}</option><!--{/if}-->
		<option value="0">{lang security_question_0}</option>
		<option value="1">{lang security_question_1}</option>
		<option value="2">{lang security_question_2}</option>
		<option value="3">{lang security_question_3}</option>
		<option value="4">{lang security_question_4}</option>
		<option value="5">{lang security_question_5}</option>
		<option value="6">{lang security_question_6}</option>
		<option value="7">{lang security_question_7}</option>
		</select> <em>{lang memcp_profile_security_comment}</em>
		</td>
	</tr>

	<tr>
		<th><label for="answernew">{lang security_answer}</label></th>
		<td><input type="text" name="answernew" id="answernew" size="25" /> <em>{lang memcp_profile_security_answer_comment}</em></td>
	</tr>

<!--{elseif $typeid == 2}-->

	<!--{if $allownickname}-->
		<tr>
		<th><label for="nicknamenew">{lang nickname}</label></th>
		<td><input type="text" name="nicknamenew" id="nicknamenew" size="25" value="$member[nickname]" /></td>
		</tr>
	<!--{/if}-->

	<!--{if $allowcstatus}-->
		<tr>
		<th><label for="cstatusnew">{lang custom_status}</label></th>
		<td>
		<input type="text" name="cstatusnew" id="cstatusnew" size="25" value="$member[customstatus]" /></td>
		</tr>
	<!--{/if}-->

	<tr>
	<th>{lang gender}</th>
	<td>
	<label><input class="radio" type="radio" name="gendernew" value="1" $gendercheck[1] /> {lang male} &nbsp;<label>
	<label><input class="radio" type="radio" name="gendernew" value="2" $gendercheck[2] /> {lang female} &nbsp;</label>
	<label><input class="radio" type="radio" name="gendernew" value="0" $gendercheck[0] /> {lang secret}</label>
	</td></tr>

	<tr>
	<th><label for="bdaynew">{lang birthday}</label></th>
	<td><input type="text" name="bdaynew" id="bdaynew" size="25" onclick="showcalendar(event, this)" onfocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" value="$member[bday]" /></td>
	</tr>

	<tr>
	<th><label for="locationnew">{lang location}</label></th>
	<td><input type="text" name="locationnew" id="locationnew" size="25" value="$member[location]" /></td>
	</tr>

	<tr>
	<th><label for="sitenew">{lang homepage}</label></th>
	<td><input type="text" name="sitenew" id="sitenew" size="25" value="$member[site]" /></td>
	</tr>

	<tr>
	<th><label for="qqnew">QQ</label></th>
	<td><input type="text" name="qqnew" id="qqnew" size="25" value="$member[qq]" /></td>
	</tr>

	<tr>
	<th><label for="icqnew">ICQ</label></th>
	<td><input type="text" name="icqnew" id="icqnew" size="25" value="$member[icq]" /></td>
	</tr>

	<tr>
	<th><label for="yahoonew">Yahoo</label></th>
	<td><input type="text" name="yahoonew" id="yahoonew" size="25" value="$member[yahoo]" /></td>
	</tr>

	<tr>
	<th><label for="msnnew">MSN</label></th>
	<td><input type="text" name="msnnew" id="msnnew" size="25" value="$member[msn]" />&nbsp;&nbsp;<a href="http://settings.messenger.live.com/applications/websignup.aspx?returnurl={$boardurl}memcp.php?action=profile&privacyurl=http://privacy.microsoft.com/zh-cn/default.aspx" target="_blank">{lang msn_privacy}</a></td>
	</tr>

	<tr>
	<th><label for="taobaonew">{lang taobao}</label></th>
	<td><input type="text" name="taobaonew" id="taobaonew" size="25" value="$member[taobao]" /></td>
	</tr>

	<tr>
	<th><label for="alipaynew">{lang alipay}</label></th>
	<td><input type="text" name="alipaynew" id="alipaynew" size="25" value="$member[alipay]" /></td>
	</tr>

<!--{elseif $typeid == 3 && (!empty($_DCACHE['fields_required']) || !empty($_DCACHE['fields_optional']))}-->

	<!--{if $_DCACHE['fields_required']}-->
		<thead class="separation">
		<tr>
		<td colspan="2">{lang required_info}</td>
		</tr>
		</thead>

		<!--{loop $_DCACHE['fields_required'] $field}-->
			<tr>
			<th>$field[title]<!--{if $field['description']}--><br /><em>$field[description]</em><!--{/if}--></th>
			<td>
			<!--{if $field['selective']}-->
				<select name="field_$field[fieldid]new" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}-->>
				<option value="">{lang please_select}</option>
				<!--{loop $field['choices'] $index $choice}-->
					<option value="$index" <!--{if $index == $member['field_'.$field[fieldid]]}-->selected="selected"<!--{/if}-->>$choice</option>
				<!--{/loop}-->
				</select>
			<!--{else}-->
				<input type="text" name="field_$field[fieldid]new" size="25" value="$member['field_'.$field[fieldid]]" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}--> />
			<!--{/if}-->
			<!--{if $field['unchangeable']}-->&nbsp;<em>{lang memcp_profile_unchangeable_comment}</em><!--{/if}-->
			</td></tr>
		<!--{/loop}-->
	<!--{/if}-->

	<!--{if $_DCACHE['fields_optional']}-->
		<thead class="separation">
		<tr>
		<td colspan="2">{lang optional_info}</td>
		</tr>
		</thead>

		<!--{loop $_DCACHE['fields_optional'] $field}-->
			<tr>
			<th><label for="field_$field[fieldid]new">$field[title]<!--{if $field['description']}--><br /><em>$field[description]</em><!--{/if}--></label></th>
			<td>
			<!--{if $field['selective']}-->
				<select name="field_$field[fieldid]new" id="field_$field[fieldid]new" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}-->>
				<option value="">{lang please_select}</option>
				<!--{loop $field['choices'] $index $choice}-->
					<option value="$index" <!--{if $index == $member['field_'.$field[fieldid]]}-->selected="selected"<!--{/if}-->>$choice</option>
				<!--{/loop}-->
				</select>
			<!--{else}-->
				<input type="text" name="field_$field[fieldid]new" size="25" value="$member['field_'.$field[fieldid]]" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}--> />
			<!--{/if}-->
			<!--{if $field['unchangeable']}-->&nbsp;<em>{lang memcp_profile_unchangeable_comment}</em><!--{/if}-->
			</td></tr>
		<!--{/loop}-->
	<!--{/if}-->

<!--{elseif $typeid == 4}-->

	<tr>
	<th valign="top"><label for="bionew">{lang bio} ($maxbiosize {lang bytes_limited})<br /><em>{lang memcp_nocustomizebbcode}<br /><br />
	{faq discuzcode} <b><!--{if $allowbiobbcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></b><br />
	{lang post_imgcode} <b><!--{if $allowbioimgcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></b><br /><br />
	<a href="###" onclick="allowbbcode = allowbiobbcode;allowimgcode = allowbioimgcode;$('biopreview').innerHTML = bbcode2html($('bionew').value)">{lang memcp_profile_preview}</a>
	</em></label></th>
	<td><div id="biopreview"></div><textarea rows="8" cols="30" style="width: 380px" id="bionew" name="bionew">$member[bio]</textarea>
	</td>
	</tr>

	<tr>
	<th valign="top"><label for="biotradenew">{lang biotrade} ($maxbiotradesize {lang bytes_limited})<br /><em>{lang memcp_nocustomizebbcode}<br /><br />
	{faq discuzcode} <b>{lang enabled}</b><br />
	{lang post_imgcode} <b>{lang enabled}</b><br /><br />
	<a href="###" onclick="allowbbcode = 1;allowimgcode = 1;$('biotradepreview').innerHTML = bbcode2html($('biotradenew').value)">{lang memcp_profile_preview}</a>
	</em></label></th>
	<td><div id="biotradepreview"></div><textarea rows="8" cols="30" style="width: 380px" id="biotradenew" name="biotradenew">$member[biotrade]</textarea>
	</td>
	</tr>

	<!--{if $maxsigsize}-->
		<tr>
		<th valign="top"><label for="signaturenew">{lang signature} ($maxsigsize {lang bytes_limited})<br /><em>{lang memcp_nocustomizebbcode}</em><br /><br />
		<em>
		{faq discuzcode}<b><!--{if $allowsigbbcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></b><br />
		{lang post_imgcode} <b><!--{if $allowsigimgcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--></b><br /><br />
		<a href="###" onclick="allowbbcode = allowsigbbcode;allowimgcode = allowsigimgcode;$('signaturepreview').innerHTML = bbcode2html($('signaturenew').value)">{lang memcp_profile_preview}</a>
		</em></label></th>
		<td><div id="signaturepreview"></div><textarea rows="8" cols="30" style="width: 380px" id="signaturenew" name="signaturenew">$member[signature]</textarea>
		</td>
		</tr>
	<!--{/if}-->

<!--{elseif $typeid == 5}-->

	<tr>
	<th>{lang style}</th>
	<td><select name="styleidnew">
	<option value="">{lang use_default}</option>
	$styleselect</select></td>
	</tr>

	<tr>
	<th>{lang tpp}</th>
	<td><select name="tppnew">
	<option value="0" $tppchecked[0]>{lang use_default}</option>
	<option value="10" $tppchecked[10]>10</option>
	<option value="20" $tppchecked[20]>20</option>
	<option value="30" $tppchecked[30]>30</option>
	</select></td>
	</tr>

	<tr>
	<th>{lang ppp}</th>
	<td><select name="pppnew">
	<option value="0" $pppchecked[0]>{lang use_default}</option>
	<option value="5" $pppchecked[5]>5</option>
	<option value="10" $pppchecked[10]>10</option>
	<option value="15" $pppchecked[15]>15</option>
	</select></td>
	</tr>

	<tr>
	<th>{lang memcp_profile_signature_conf}</th>
	<td><select name="ssnew">
	<option value="2" $sschecked[2]>{lang use_default}</option>
	<option value="1" $sschecked[1]>{lang memcp_profile_signature}</option>
	<option value="0" $sschecked[0]>{lang memcp_profile_nosignature}</option>
	</select></td>
	</tr>
	<tr>
	<th>{lang memcp_profile_avatar_conf}</th>
	<td><select name="sanew">
	<option value="2" $sachecked[2]>{lang use_default}</option>
	<option value="1" $sachecked[1]>{lang memcp_profile_avatar}</option>
	<option value="0" $sachecked[0]>{lang memcp_profile_noavatar}</option>
	</select></td>
	</tr>
	<tr>
	<th>{lang memcp_profile_image_conf}<br /><em>{lang memcp_profile_image_conf_comment}</em></th>
	<td><select name="sinew">
	<option value="2" $sichecked[2]>{lang use_default}</option>
	<option value="1" $sichecked[1]>{lang memcp_profile_image}</option>
	<option value="0" $sichecked[0]>{lang memcp_profile_noimage}</option>
	</select></td>
	</tr>

	<tr>
	<th>{lang memcp_profile_editor_mode}</th>
	<td><select name="editormodenew">
	<option value="2" $emcheck[2]>{lang use_default}</option>
	<option value="0" $emcheck[0]>{lang memcp_profile_editor_mode_discuzcode}</option>
	<option value="1" $emcheck[1]>{lang memcp_profile_editor_mode_wysiwyg}</option>
	</select></td>
	</tr>

	<tr>
	<th>{lang timeoffset}</th>
	<td>
	<select name="timeoffsetnew">
	<option value="9999" $toselect[9999]>{lang use_default}</option>
	<option value="-12" $toselect[-12]>(GMT -12:00) Eniwetok, Kwajalein</option>
	<option value="-11" $toselect[-11]>(GMT -11:00) Midway Island, Samoa</option>
	<option value="-10" $toselect[-10]>(GMT -10:00) Hawaii</option>
	<option value="-9" $toselect[-9]>(GMT -09:00) Alaska</option>
	<option value="-8" $toselect[-8]>(GMT -08:00) Pacific Time (US &amp; Canada), Tijuana</option>
	<option value="-7" $toselect[-7]>(GMT -07:00) Mountain Time (US &amp; Canada), Arizona</option>
	<option value="-6" $toselect[-6]>(GMT -06:00) Central Time (US &amp; Canada), Mexico City</option>
	<option value="-5" $toselect[-5]>(GMT -05:00) Eastern Time (US &amp; Canada), Bogota, Lima, Quito</option>
	<option value="-4" $toselect[-4]>(GMT -04:00) Atlantic Time (Canada), Caracas, La Paz</option>
	<option value="-3.5" $toselect[-3.5]>(GMT -03:30) Newfoundland</option>
	<option value="-3" $toselect[-3]>(GMT -03:00) Brassila, Buenos Aires, Georgetown, Falkland Is</option>
	<option value="-2" $toselect[-2]>(GMT -02:00) Mid-Atlantic, Ascension Is., St. Helena</option>
	<option value="-1" $toselect[-1]>(GMT -01:00) Azores, Cape Verde Islands</option>
	<option value="0"  $toselect[0]>(GMT) Casablanca, Dublin, Edinburgh, London, Lisbon, Monrovia</option>
	<option value="1" $toselect[1]>(GMT +01:00) Amsterdam, Berlin, Brussels, Madrid, Paris, Rome</option>
	<option value="2" $toselect[2]>(GMT +02:00) Cairo, Helsinki, Kaliningrad, South Africa</option>
	<option value="3" $toselect[3]>(GMT +03:00) Baghdad, Riyadh, Moscow, Nairobi</option>
	<option value="3.5" $toselect[3.5]>(GMT +03:30) Tehran</option>
	<option value="4" $toselect[4]>(GMT +04:00) Abu Dhabi, Baku, Muscat, Tbilisi</option>
	<option value="4.5" $toselect[4.5]>(GMT +04:30) Kabul</option>
	<option value="5" $toselect[5]>(GMT +05:00) Ekaterinburg, Islamabad, Karachi, Tashkent</option>
	<option value="5.5" $toselect[5.5]>(GMT +05:30) Bombay, Calcutta, Madras, New Delhi</option>
	<option value="5.75" $toselect[5.75]>(GMT +05:45) Katmandu</option>
	<option value="6" $toselect[6]>(GMT +06:00) Almaty, Colombo, Dhaka, Novosibirsk</option>
	<option value="6.5" $toselect[6.5]>(GMT +06:30) Rangoon</option>
	<option value="7" $toselect[7]>(GMT +07:00) Bangkok, Hanoi, Jakarta</option>
	<option value="8" $toselect[8]>(GMT +08:00) Beijing, Hong Kong, Perth, Singapore, Taipei</option>
	<option value="9" $toselect[9]>(GMT +09:00) Osaka, Sapporo, Seoul, Tokyo, Yakutsk</option>
	<option value="9.5" $toselect[9.5]>(GMT +09:30) Adelaide, Darwin</option>
	<option value="10" $toselect[10]>(GMT +10:00) Canberra, Guam, Melbourne, Sydney, Vladivostok</option>
	<option value="11" $toselect[11]>(GMT +11:00) Magadan, New Caledonia, Solomon Islands</option>
	<option value="12" $toselect[12]>(GMT +12:00) Auckland, Wellington, Fiji, Marshall Island</option>
	</select></td>
	</tr>

	<tr>
	<th>{lang timeformat}</th>
	<td>
	<label><input type="radio" value="0" name="timeformatnew" $tfcheck[0] />{lang default} &nbsp;</label>
	<label><input type="radio" value="1" name="timeformatnew" $tfcheck[1] />12 {lang hour} &nbsp;</label>
	<label><input type="radio" value="2" name="timeformatnew" $tfcheck[2] />24 {lang hour}</label></td>
	</tr>

	<tr>
	<th>{lang dateformat}</th>
	<td>
	<select name="dateformatnew">
	<option value="0" $dfcheck[0]>{lang default}</option>
	<!--{loop $dateformatlist $key $value}-->
		<option value="$key" $dfcheck[$key]>$value</option>
	<!--{/loop}-->
	</select>
	</td>
	</tr>

	<tr>
	<th>{lang pmsound}</th>
	<td><label><input type="radio" value="0" name="pmsoundnew" $pscheck[0] />{lang none} &nbsp;</label>
	<label><input type="radio" value="1" name="pmsoundnew" $pscheck[1] /><a href="images/sound/pm_1.wav">#1</a> &nbsp;</label>
	<label><input type="radio" value="2" name="pmsoundnew" $pscheck[2] /><a href="images/sound/pm_2.wav">#2</a> &nbsp;</label>
	<label><input type="radio" value="3" name="pmsoundnew" $pscheck[3] /><a href="images/sound/pm_3.wav">#3</a></label></td>
	</tr>

	<!--{if $uc['addfeed'] && $ucappopen['UCHOME']}-->
		<tr>
		<th>{lang memcp_profile_feed}</th>
		<td>
		<label><input type="radio" value="0" name="customaddfeednew" onclick="$('customaddfeed').style.display = 'none';" $defaultcheck/>{lang default} &nbsp;</label>
		<label><input type="radio" name="customaddfeednew" onclick="$('customaddfeed').style.display = '';" $customcheck/>{lang customize} &nbsp;</label><br />
		<div id="customaddfeed" style="display: $showfeedcheck">
			<label><input type="checkbox" name="addfeed[1]" value="1" $feedchecks[1]/> {lang general_thread}</label><br />
			<label><input type="checkbox" name="addfeed[2]" value="1" $feedchecks[2]/> {lang special_thread}</label><br />
			<label><input type="checkbox" name="addfeed[3]" value="1" $feedchecks[3]/> {lang join_thread}</label>
		</div>
		</td></tr>
	<!--{/if}-->

	<tr>
	<th>{lang other_options}</th>
	<td>
	<!--{if $allowinvisible}-->
		<label><input type="checkbox" name="invisiblenew" value="1" $invisiblechecked /> {lang online_invisible}</label><br />
	<!--{/if}-->
	<label><input type="checkbox" name="showemailnew" value="1" $emailchecked /> {lang show_email_addr}</label><br />
	<label><input type="checkbox" name="newsletternew" value="1" $newschecked /> {lang allow_newsletter}</label><br />
	</td></tr>

<!--{elseif $typeid == 6}-->

	<tr>
	<th valign="top"><div style="text-align: center;">{echo discuz_uc_avatar($discuz_uid)}</div></th>
	<td>
	$uc_avatarflash
	</td>
	</tr>

<!--{/if}-->

<!--{if $typeid != 6}-->
	<tr>
		<th>&nbsp;</th>
		<td><button type="submit" class="submit" name="editsubmit" id="editsubmit" value="true">{lang submit}</button></td>
	</tr>
<!--{/if}-->
</table>
</div>
</form>
</td></tr></table>
	</div>
	<div class="side">
		{subtemplate personal_navbar}
	</div>
</div>
{subtemplate footer}